package com.companion.service

import com.companion.lh.companion_app.R
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.gson.GsonConverterFactory

/**
 * Created by yangsen on 2017/12/8.
 */
val retrofit: Retrofit = Retrofit.Builder()
        .baseUrl("http://192.168.0.157:8082/sms/")
        .addConverterFactory(GsonConverterFactory.create())
        .addCallAdapterFactory(RxJava2CallAdapterFactory.create())
        .build()